package hv.fmw.core.command 
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author hvong
	 */
	public class CommandEvent extends Event 
	{
		public static const ALL_COMMAND_COMPLETE:String = "all_command_complete";
		public static const COMMAND_COMPLETE:String = "command_complete";
		private var _command:Command;
		
		public function CommandEvent(type:String, command:Command=null, bubbles:Boolean=false, cancelable:Boolean=false) 
		{ 
			_command = command;
			super(type, bubbles, cancelable);
		}

		public function get command() : Command {
			return _command;
		}
	}
}